﻿<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title></title>
	<link rel="stylesheet" href="css/reset.css">
	<link rel="stylesheet" href="css/public.css">
   <script src="js1/easyUI/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="js1/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="js1/easyUI/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
    <script src="js1/ljxpage.js" type="text/javascript"></script>
</head>
    <script>
        $(document).ready(function () {
            $.post('index1.ashx?type=admin', function (msg) {
                var str = msg.split('|');
                var str0 = str[0] + "管理员，您好！";
                var str1 = "登录时间" + str[1];
                $('.admin-name').html(str0);
                $('.logo-des').html(str1);
            });
        });
       
    </script>
<body>
<div class="public-header-warrp">
	<div class="public-header">
		<div class="content">
			<div class="public-header-logo"><a href=""><i>LOGO</i><h3>wxx</h3></a></div>
			<div class="public-header-admin fr">
				<p class="admin-name">管理员 您好！</p>
				<div class="public-header-fun fr">
					<a href="" class="public-header-man">管理</a>
					<a href="" class="public-header-loginout">安全退出</a>	
				</div>
			</div>
		</div>
	</div>
</div>
<div class="clearfix"></div>
<!-- 内容展示 -->
<div class="public-ifame mt20">
	<div class="content">
	<!-- 内容模块头 -->

		<div class="clearfix"></div>
		<!-- 左侧导航栏 -->
		<div class="public-ifame-leftnav">
			<div class="public-title-warrp">
				<div class="public-ifame-title ">
					<a href="">首页</a>
				</div>
			</div>
			<ul class="left-nav-list">
				<li class="public-ifame-item">
					<a href="javascript:;">日常管理</a>
					<div class="ifame-item-sub">
						<ul>
							<li class="active"><a href="myweb/html/wxx_lendsend.html" target="content">图书借阅</a></li>
							<li><a href="myweb/html/wxx_guihuan.html" target="content">图书归还和续借</a></li>
							<li><a href="myweb/html/wxx_yishi.html" target="content">图书遗失</a></li>
							<li><a href="myweb/html/wxx_librarybookinfo.html" target="content">图书入库</a></li>
                            <li><a href="myweb/html/wxx_bookorder.html" target="content">图书预约</a></li>
                            <li><a href="myweb/html/wxx_order.html" target="content">取消预约</a></li>
						</ul>
					</div>
				</li>
				<li class="public-ifame-item">
					<a href="javascript:;">信息查询</a>
					<div class="ifame-item-sub">
						<ul>
							<li><a href="myweb/html/wxx_kucunchaxun.html" target="content">库存查询</a></li>
							<li><a href="myweb/html/wxx_lendsendjilu.html" target="content">借阅记录</a></li>
                            <li><a href="myweb/html/wxx_lose.html" target="content">遗失记录</a></li>
                            <li><a href="myweb/html/wxx_orderjilu.html" target="content">预约记录</a></li>
						</ul>
					</div>
				</li>
				<li class="public-ifame-item">
					<a href="javascript:;">基础信息管理</a>
					<div class="ifame-item-sub">
						<ul>
                            <li><a href="myweb/html/wxx_zidian.html" target="content">字典表管理</a></li>
							<li><a href="myweb/html/wxx_bookinfo.html" target="content">书目录入</a></li>
							<li><a href="myweb/html/wxx_readerinfo.html" target="content">读者管理</a></li>
                            <li><a href="myweb/html/wxx_guanliyuan.html" target="content">读者登录信息管理</a></li>
						</ul>
					</div>
				</li>
			
				<li class="public-ifame-item">
					<a href="javascript:;">系统管理</a>
					<div class="ifame-item-sub">
						<ul>
							<li><a href="setpower/NavigationList.aspx" target="content">导航菜单</a></li>
                            <li><a href="setpower/UserList.html" target="content">用户权限设置</a></li>
                            <li><a href="setpower/RolesList.html" target="content">角色授权列表</a></li>
                            <li><a href="setpower/Authority.html" target="content">功能按钮定义</a></li>
                            <li><a href="setpower/com_user.html" target="content">管理员基本信息</a></li>
                            <li><a href="setpower/com_user_power.html" target="content">角色授权</a></li>

						</ul>
					</div>
				</li>
			</ul>
		</div>
		<!-- 右侧内容展示部分 -->
		<div class="public-ifame-content">
		<iframe name="content" src="main.html" frameborder="0" id="mainframe" scrolling="yes" marginheight="0" marginwidth="0" width="100%" style="height: 700px;"></iframe>
		</div>
	</div>
</div>

<script>
    $().ready(function () {
        var item = $(".public-ifame-item");

        for (var i = 0; i < item.length; i++) {
            $(item[i]).on('click', function () {
                $(".ifame-item-sub").hide();
                if ($(this.lastElementChild).css('display') == 'block') {
                    $(this.lastElementChild).hide()
                    $(".ifame-item-sub li").removeClass("active");
                } else {
                    $(this.lastElementChild).show();
                    $(".ifame-item-sub li").on('click', function () {
                        $(".ifame-item-sub li").removeClass("active");
                        $(this).addClass("active");
                    });
                }
            });
        }
    });
</script>
</body>
</html>